package com.cc.service.impl;

import com.cc.dao.Userdao;
import com.cc.pojo.User;
import com.cc.service.Userservice;

/**
 * @author cc
 * @date 2021/8/10 19:16
 * @Description
 */

public class UserserviceImpl implements Userservice {
    private Userdao userdao;
    public void Adduser(User user) {
        System.out.println("这是service层");
        userdao.AddUser(user);
    }

    public void setUserdao(Userdao userdao) {
        this.userdao = userdao;
    }
}
